package com.qili.service.base.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.base.BaseCompany;
import com.qili.entity.base.BaseDict;
import com.qili.mapper.base.BaseCompanyMapper;
import com.qili.mapper.base.BaseDictMapper;
import com.qili.service.base.BaseCompanyService;
import com.qili.service.base.BaseDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author Zhangshuo
 * @date 2020/11/23 10:54
 **/
@Service
public class BaseCompanyServiceImpl extends BaseServiceImpl<BaseCompany,String> implements BaseCompanyService {
    @Autowired
    private BaseCompanyMapper baseCompanyMapper;
    /**
     * @Author:Zhangshuo
     * @Description:
     * @param
     * @Date:10:56 2020/11/23
     */
    @Override
    public BaseMapper<BaseCompany, String> getMappser() {
        return baseCompanyMapper;
    }
    /**
     * @Author:Zhangshuo
     * @Description:
     * @param
     * @Date:10:57 2020/11/23
     */
    @Override
    public List<BaseCompany> getCompanyDict(BaseCompany baseCompany) {
        return baseCompanyMapper.getCompanyDict(baseCompany);
    }

    @Override
    public List<Map<String,Object>> selectProjectOwner() {
        return baseCompanyMapper.selectProjectOwner();
    }
}
